For fermions, such as electrons, this quantum mechanical effect manifests as an intrinsic repulsion towards overlapping orbitals.
2.
Since the nature of the overlapping orbitals are different in H 2 and F 2 molecules, the bond strength and bond lengths differ between H 2 and F 2 molecules.